#ifndef __TEACHER_INFO_H
#define __TEACHER_INFO_H

#include <iostream>
#include <list>
using namespace std;

class TeacherInfo
{
public:
    TeacherInfo();
    TeacherInfo(const string &id, const string &name,
                const string &dept, const string &post);

    void display(void) const;

    void setID(const string &id);
    void setName(const string &name);
    void setDept(const string &dept);
    void setPost(const string &post);

    const string &getID() const;
    const string &getName() const;
    const string &getDept() const;
    const string &getPost() const;

private:
    string m_id;
    string m_name;
    string m_dept;
    string m_post;
};

typedef list<TeacherInfo> TeacherInfoList;

#endif // __TEACHER_INFO_H
